package ch1;

/**
 * Created by 竹韵澜 on 2017/7/17.
 */
public class Print {

    public static void main(String[] args) {
        //在三行上，一单词一行，各单词居中对齐
        System.out.println("Knowledge");
        System.out.println("   is");
        System.out.println("  Power");

        //在一个由=和|组成的方框中
        System.out.print("================\n"+"|   Knowledge   |\n"+"|      is       |\n"
                + "|     Power     | \n" + "================\n" );
    }
}
